package symbols;

/**
 * Constants representing HL types and their names
 * 
 * Note 1 : java < 1.5 (no enumeration type)
 * 
 * Note 2 : class <code>Symbol</code> depends on the ordering below 
 * 
 * @author marc
 *
 */
public interface Type {
	public static final int NUM 		= 0;
	public static final int STR 		= 1;
	public static final int SET 		= 2;
	public static final int OBJ 		= 3;
	public static final int FUNCTION 	= 4;
	public static final int SUB 		= 5;
	public static final int PREDICATE 	= 6;

	public static final String names[] = { "num", "str", "set", "obj",
											"function", "sub", "predicate"};
}
